﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SqlSugar;

namespace Model.EntityModel.SysModel
{
    [SugarTable("GROUP_PERMISSION")]
    public class GroupPermission
    {
        [SugarColumn(IsPrimaryKey = true)]
        public string Id { get; set; } = Guid.NewGuid().ToString();

        [SugarColumn(Length = 36)]
        public string GroupId { get; set; }

        [SugarColumn(Length = 50)]
        public string PermissionCode { get; set; } // 如: "Order.Read", "User.Manage"
    }
}
